import request from '@/router/axios';
import { baseUrl } from '@/config/env';
export const listLoginLog = (data) => request({
    url: baseUrl + '/sys/sysLoginInfo/page',
    method: 'post',
    data: data
});

export const delLoginLog = (ids) => request({
    url: baseUrl + '/sys/sysLoginInfo/' + ids,
    method: 'delete',
});
export const delAllLoginLog = () => request({
    url: baseUrl + '/sys/sysLoginInfo/all',
    method: 'delete',
});
export const updateLoginLog = (data) => request({
    url: baseUrl + '/sys/sysLoginInfo',
    method: 'put',
    data: data
});

